package amadeus

type GetAmadeusInfo struct {
	Code          string `json:"code"`
	FlightSection []struct {
		Index             int    `json:"index"`
		MarketingAirline  string `json:"marketing_airline"`
		FlightNumber      string `json:"flight_number"`
		ClassAvail        string `json:"class_avail"`
		DepartureDate     string `json:"departure_date"`
		ArrivalDate       string `json:"arrival_date"`
		Weekday           string `json:"weekday"`
		DepartureCityCode string `json:"departure_city_code"`
		DepartureCity     string `json:"departure_city"`
		ArrivalCityCode   string `json:"arrival_city_code"`
		ArrivalCity       string `json:"arrival_city"`
		DepartureTime     string `json:"departure_time"`
		ArrivalTime       string `json:"arrival_time"`
		BigCode           string `json:"big_code"`
	} `json:"flight_section"`
	Passenger []struct {
		FirstName      string `json:"first_name"`
		LastName       string `json:"last_name"`
		Type           string `json:"type"`
		Gender         string `json:"gender"`
		IDCardType     string `json:"id_card_type"`
		IDCardNo       string `json:"id_card_no"`
		Birthday       string `json:"birthday"`
		Nationality    string `json:"nationality"`
		IDIssueCountry string `json:"id_issue_country"`
		IDExpireDate   string `json:"id_expireDate"`
		TicketNumber   string `json:"ticket_number"`
		Index          int    `json:"index"`
	} `json:"passenger"`
}
